<?php
namespace app\api\model;

use think\Model;

class Image extends Base
{
    protected $table = 'image';
    protected $autoWriteTimestamp = 'datetime';

    public function getUrlAttr($value){

        return config('setting.img_prefix').$value;
    }


}